Skip to content

docs: align 3.x upgrade guide with the shipped 1.x env_migrate task#45

Merged
turegjorup merged 1 commit into
release/3.0.0from
feature/upgrade-guide-align-env-migrate
Jun 23, 2026
Merged

docs: align 3.x upgrade guide with the shipped 1.x env_migrate task#45
turegjorup merged 1 commit into
release/3.0.0from
feature/upgrade-guide-align-env-migrate

Conversation

@turegjorup

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #44. When #43 merged it reconciled the 1.x prep tooling with the already-merged task env_migrate (#40): on the 1.x branch the converter wrapper is task env_migrate and it writes .env.symfony.migrated — not the task upgrade_prep / env.3x that #44's guide and env:migrate task assumed. This retargets the 3.x side so the cross-branch flow actually works end to end.

Without this, operators following UPGRADE.md on release/3.0.0 would run a task upgrade_prep that doesn't exist and look for an env.3x that's never produced.

Changes

  • Taskfile.yml (env:migrate): consume the .env.symfony.migrated produced on 1.x by task env_migrate (it survives the branch switch — gitignored on both branches) and split its trailing infrastructure advisory in place (input and output share the name), instead of reading env.3x. Falls back to the sed conversion of .env.docker.local when absent; idempotent on re-run.
  • UPGRADE.md / README.md / CHANGELOG.md: replace every task upgrade_prep / env.3x reference with task env_migrate / .env.symfony.migrated.
  • Fix a stale UPGRADE.md step 6 pointer in env:migratestep 4 (the MariaDB step's number after the docs: restructure 1.x → 3.x upgrade around the 2.8 config converter #44 restructure).

Test Plan

  • task env:migrate exercised three ways: a converter-shaped .env.symfony.migrated (advisory split in place into .env.symfony.infra-advisory, clean app env retained); a second run (idempotent — no advisory left, file unchanged); and no migrated file present (sed fallback on .env.docker.local, APP_ strip).
  • task --list parses; scripts/check-tasks-readme.sh passes.
  • markdownlint (repo image + config) clean on UPGRADE.md, README.md, CHANGELOG.md.
  • grep confirms no env.3x / upgrade_prep references remain on the branch.

🤖 Generated with Claude Code

PR #43 (merged) reconciled the 1.x prep tooling with the already-merged
`task env_migrate` (#40): the 1.x converter wrapper is `env_migrate` and
it writes `.env.symfony.migrated`, not the `task upgrade_prep`/`env.3x`
this branch's guide assumed. Retarget the 3.x side to that reality.

- env:migrate (3.x): take the `.env.symfony.migrated` produced on 1.x by
  `task env_migrate` (carried across the branch switch, gitignored on
  both) and split its trailing infrastructure advisory in place, instead
  of looking for `env.3x`. Fall back to the sed conversion of
  `.env.docker.local` when it's absent. Idempotent on re-run.
- UPGRADE.md, README, CHANGELOG: replace every `task upgrade_prep` /
  `env.3x` reference with `task env_migrate` / `.env.symfony.migrated`.
- Fix a stale "UPGRADE.md step 6" pointer in env:migrate to "step 4"
  (the MariaDB step's number after the #44 restructure).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@turegjorup
turegjorup merged commit b6fcc04 into release/3.0.0 Jun 23, 2026
9 checks passed
@turegjorup
turegjorup deleted the feature/upgrade-guide-align-env-migrate branch June 23, 2026 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant